/**
 * @Date 2025/4/1 13:28
 * @Created by 衡盛永
 */

package com.shangting.web.vo.token;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Schema(description = "双 Token VO")
@Data
public class TokenVo {
    @Schema(description = "ACCESS Token")
    private String accessToken;

    @Schema(description = "REFRESH Token")
    private String refreshToken;

    public TokenVo() {
    }

    public TokenVo(String accessToken, String refreshToken) {
        this.accessToken = accessToken;
        this.refreshToken = refreshToken;
    }

    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    public String getRefreshToken() {
        return refreshToken;
    }

    public void setRefreshToken(String refreshToken) {
        this.refreshToken = refreshToken;
    }

    @Override
    public String toString() {
        return "TokenVo{" +
                "accessToken='" + accessToken + '\'' +
                ", refreshToken='" + refreshToken + '\'' +
                '}';
    }
}
